docs: unmap signal will always be emitted when a widget is unmapped
authorJavier Jardón <jjardon@gnome.org>
Mon, 20 Dec 2010 21:45:08 +0000 (21:45 +0000)
committerJavier Jardón <jjardon@gnome.org>
Mon, 20 Dec 2010 23:53:53 +0000 (23:53 +0000)
Since commit 9552152dd9c4c51fcb2847fdd15e118dd3c363f1

gtk/gtkwidget.c

index d261b1324575e7d49fb68fc673b1b66e9bbecba7..97a1f447f1e18dc84407afeea07e781fc438959e 100644 (file)
@@ -2160,13 +2160,9 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * @widget: the object which received the signal
    * @event: (type Gdk.EventAny): the #GdkEventAny which triggered this signal
    *
-   * The ::unmap-event signal may be emitted when the @widget's window is
+   * The ::unmap-event signal will be emitted when the @widget's window is
    * unmapped. A window is unmapped when it becomes invisible on the screen.
    *
-   * For performance reasons GTK+ may not emit ::unmap-event, so one
-   * should always also implement ::unrealize in order to release
-   * resources and disconnect signal handlers.
-   *
    * To receive this signal, the #GdkWindow associated to the widget needs
    * to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask
    * automatically for all new windows.